<div class="betRight">
    <div class="today box">
        <h3>今日开奖</h3>
        <div class="more">
            <a href="javascript:void(0);" class="" target="_blank">走势图</a>
            <a href="javascript:void(0);" onclick="newOwindow('index.php?m=index&c=lotteryHall&a=explain&id={$info['id']}');">玩法说明</a>
        </div>
        <div class="ResultsList" id="id_history_open">
        	{if $lottPage == 'ssc'}
                <table id="fn_getoPenGame" class="ty_table_gameBet curr" width="100%" cellspacing="0" cellpadding="0" border="0">
                    <tbody>
                    <tr>
                        <th scope="col">期号</th>
                        <th scope="col">开奖号</th>
                        <th scope="col">开奖时间</th>
                    </tr>
                    </tbody>
                    <tbody>
                        {loop $list as $r}
                            <tr>
                              <td class="c_green"><i class="o_qi">{$r['expect']}</i></td>
                              <td><i class="numbers">{$r['opencode']}</i></td>
                              <td>{date('H:i:s', strtotime($r['opentime']))}</td>
                            </tr>
                        {/loop}
                    </tbody>
                </table>
            {elseif $lottPage == 'k3'}
            	<table id="fn_getoPenGame" class="ty_table_gameBet curr" width="100%" cellspacing="0" cellpadding="0" border="0">
                    <tbody>
                        <tr>
                          <th scope="col">期号</th>
                          <th scope="col">开奖号</th>
                          <th scope="col">和值</th>
                          <th scope="col">形态</th>
                        </tr>
                    </tbody>
                    <tbody>
                        {loop $list as $r}
                            <tr>
                              	<td class="c_green"><i class="o_qi">{$r['expect']}</i></td>
                              	<td><i class="numbers">{$r['opencode']}</i></td>
                              	<td>{$r['he']}</td>
                              	<td>
                              		{if $r['da'] == 'da'}
                              			<em class="da">大</em>
                              		{else}
                              			<em class="xiao">小</em>
                              		{/if}
                              		
                              		{if $r['double'] == 'shuang'}
										<em class="shuang">双</em>
									{else}
										<em class="dan">单</em>
									{/if}
                              </td>
                            </tr>
                        {/loop}
                    </tbody>
                </table>
            {/if}
        </div>

    </div>
    <div class="mybet box">
        <h3 class="">我的投注</h3>
        <h3 class="notSelect">我的追号</h3>
        <table class="_mybetContent" width="100%" cellspacing="0" cellpadding="0" border="0">
            <tbody>
            <tr>
                <th>期号</th>
                <th>投注金额</th>
                <th>奖金</th>
            </tr>
			{loop $playlist as $r}
                <tr>
                    <td>{$r['period']}</td>
                    <td>{$r['money']}</td>
                    <td>0</td>
                </tr>
            {/loop}
            </tbody>
        </table>

        <table class="_betChaseAnimation dpn" width="100%" cellspacing="0" cellpadding="0" border="0">
        </table>
        <table class="more">
            <tbody>
            <tr>
                <td>
                    <a href="{U('member/BetRecord')}" class="">更多&gt;&gt;</a>
                </td>
            </tr>
            </tbody>
        </table>
    </div>
    <div class="winningList box" style="height: 600px;">
      	<h3 class="winnerTab" onclick="messBoxController(this, 'lotteryInfo')">中奖信息</h3>
          	<h3 class="winnerTab notSelect" onclick="messBoxController(this, 'moneyList')">昨日盈利榜</h3>
          	<div id="Ranking" class="winnerListSlide" style="width: 100%; box-sizing: content-box;">
                <div  class="messBox" id="lotteryInfo" style="width: 100%;">
                <table width="100%">
                    <tbody>
                    <tr>
                        <th>
                            中奖信息实时更新
                        </th>
                    </tr>
                    </tbody>
                </table>
                <div class="bd">
                    <div class="tempWrap" style="overflow: hidden; height: 510px;">
                        <ul class="winnerList" style="cursor: pointer; position: relative; top: -102px; transition: all 0.3s linear 0s;">
                            <li><img src="//imagess-google.com/system/common/headimg/1B6A214FF62BD91F.jpg">
                                <p>
                                    欣 北京快3<br>
                                    喜中<span>¥9.65</span>
                                </p>
                            </li>
                            <li><img src="//imagess-google.com/system/common/headimg/E6CA6EB9F492879E.jpg">
                                <p>
                                    62***6 北京快3<br>
                                    喜中<span>¥9.75</span>
                                </p>
                            </li>
                            <li><img src="//imagess-google.com/system/common/headimg/67b487fa0ac81fa2.jpg">
                                <p>
                                    zs***7 北京快3<br>
                                    喜中<span>¥7.8</span>
                                </p>
                            </li>
                            <li><img src="//imagess-google.com/system/common/headimg/5C5A53823438F2CD.jpg">
                                <p>
                                    啷哩个啷 北京快3<br>
                                    喜中<span>¥78</span>
                                </p>
                            </li>
                            <li><img src="//imagess-google.com/system/common/headimg/3578E1EB410B49C7.jpg">
                                <p>
                                    木木 北京快3<br>
                                    喜中<span>¥1.94</span>
                                </p>
                            </li>
                            <li><img src="//imagess-google.com/system/common/headimg/E6CA6EB9F492879E.jpg">
                                <p>
                                    喜乐 北京快3<br>
                                    喜中<span>¥58.5</span>
                                </p>
                            </li>
                            <li><img src="//imagess-google.com/system/common/headimg/7f02613f51d3b253.jpg">
                                <p>
                                    we***0 北京快3<br>
                                    喜中<span>¥3.9</span>
                                </p>
                            </li>
                            <li><img src="//imagess-google.com/system/common/headimg/E6CA6EB9F492879E.jpg">
                                <p>
                                    蓝色的天空 北京快3<br>
                                    喜中<span>¥1.95</span>
                                </p>
                            </li>
                            <li><img src="//imagess-google.com/system/common/headimg/C362F2B1E0EA389A.jpg">
                                <p>
                                    qz***9 北京快3<br>
                                    喜中<span>¥9.75</span>
                                </p>
                            </li>
                            <li><img src="//imagess-google.com/system/common/headimg/367498B6A748D910.jpg">
                                <p>
                                    15***7 北京快3<br>
                                    喜中<span>¥9.75</span>
                                </p>
                            </li>
                            <li><img src="//imagess-google.com/system/common/headimg/4A2E3EA214381904.jpg">
                                <p>
                                    清风摆渡人 北京快3<br>
                                    喜中<span>¥5.85</span>
                                </p>
                            </li>
                            <li><img src="//imagess-google.com/system/common/headimg/3578E1EB410B49C7.jpg">
                                <p>
                                    13***5 北京快3<br>
                                    喜中<span>¥39</span>
                                </p>
                            </li>
                            <li><img src="//imagess-google.com/system/common/headimg/6EC9EDCC7B3BD70D.jpg">
                                <p>
                                    54***5 北京快3<br>
                                    喜中<span>¥58.5</span>
                                </p>
                            </li>
                            <li><img src="//imagess-google.com/system/common/headimg/E6CA6EB9F492879E.jpg">
                                <p>
                                    83***1 北京快3<br>
                                    喜中<span>¥1.95</span>
                                </p>
                            </li>
                            <li><img src="//imagess-google.com/system/common/headimg/C6021F3486D2B2DB.jpg">
                                <p>
                                    45***5 北京快3<br>
                                    喜中<span>¥58.5</span>
                                </p>
                            </li>
                            <li><img src="//imagess-google.com/system/common/headimg/A9734CC321C8B363.jpg">
                                <p>
                                    28***5 北京快3<br>
                                    喜中<span>¥9.75</span>
                                </p>
                            </li>
                            <li><img src="//imagess-google.com/system/common/headimg/1cf127223f44d417.jpg">
                                <p>
                                    13***3 北京快3<br>
                                    喜中<span>¥5.85</span>
                                </p>
                            </li>
                            <li><img src="//imagess-google.com/system/common/headimg/0A472675E5E5AF50.jpg">
                                <p>
                                    27***4 北京快3<br>
                                    喜中<span>¥46.8</span>
                                </p>
                            </li>
                            <li><img src="//imagess-google.com/system/common/headimg/0A472675E5E5AF50.jpg">
                                <p>
                                    wl***6 北京快3<br>
                                    喜中<span>¥1.95</span>
                                </p>
                            </li>
                            <li><img src="//imagess-google.com/system/common/headimg/67b487fa0ac81fa2.jpg">
                                <p>
                                    傲娇女生 北京快3<br>
                                    喜中<span>¥1.95</span>
                                </p>
                            </li>
                            <li><img src="//imagess-google.com/system/common/headimg/1B6A214FF62BD91F.jpg">
                                <p>
                                    欣 北京快3<br>
                                    喜中<span>¥9.65</span>
                                </p>
                            </li>
                            <li><img src="//imagess-google.com/system/common/headimg/E6CA6EB9F492879E.jpg">
                                <p>
                                    62***6 北京快3<br>
                                    喜中<span>¥9.75</span>
                                </p>
                            </li>
                            <li><img src="//imagess-google.com/system/common/headimg/67b487fa0ac81fa2.jpg">
                                <p>
                                    zs***7 北京快3<br>
                                    喜中<span>¥7.8</span>
                                </p>
                            </li>
                            <li><img src="//imagess-google.com/system/common/headimg/5C5A53823438F2CD.jpg">
                                <p>
                                    啷哩个啷 北京快3<br>
                                    喜中<span>¥78</span>
                                </p>
                            </li>
                            <li><img src="//imagess-google.com/system/common/headimg/3578E1EB410B49C7.jpg">
                                <p>
                                    木木 北京快3<br>
                                    喜中<span>¥1.94</span>
                                </p>
                            </li>
                            <li><img src="//imagess-google.com/system/common/headimg/E6CA6EB9F492879E.jpg">
                                <p>
                                    喜乐 北京快3<br>
                                    喜中<span>¥58.5</span>
                                </p>
                            </li>
                            <li><img src="//imagess-google.com/system/common/headimg/7f02613f51d3b253.jpg">
                                <p>
                                    we***0 北京快3<br>
                                    喜中<span>¥3.9</span>
                                </p>
                            </li>
                            <li><img src="//imagess-google.com/system/common/headimg/E6CA6EB9F492879E.jpg">
                                <p>
                                    蓝色的天空 北京快3<br>
                                    喜中<span>¥1.95</span>
                                </p>
                            </li>
                            <li><img src="//imagess-google.com/system/common/headimg/C362F2B1E0EA389A.jpg">
                                <p>
                                    qz***9 北京快3<br>
                                    喜中<span>¥9.75</span>
                                </p>
                            </li>
                            <li><img src="//imagess-google.com/system/common/headimg/367498B6A748D910.jpg">
                                <p>
                                    15***7 北京快3<br>
                                    喜中<span>¥9.75</span>
                                </p>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
            <div class="messBox" id="moneyList" style="width: 100%; display: none;">
                <table style="position: relative;" width="100%" cellspacing="0" cellpadding="0" border="0">
                    <tr>
                        <th colspan="2">
                            昨日累计盈利排行榜
                        </th>
                    </tr>
                    <tr>
                        <td>
                            <img src="//imagess-google.com/system/common/headimg/C7BB5088540C8040.jpg">
                            <p>
                                账号昵称：yi***2<br>
                                昨日盈利：
                                <i>¥323720</i>
                            </p>
                        </td>
                        <td>
                            <ins>1</ins>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <img src="//imagess-google.com/system/common/headimg/6F1A99A3D02A6DEC.jpg">
                            <p>
                                账号昵称：10***9<br>
                                昨日盈利：
                                <i>¥323650</i>
                            </p>
                        </td>
                        <td>
                            <ins>2</ins>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <img src="//imagess-google.com/system/common/headimg/5C5A53823438F2CD.jpg">
                            <p>
                                账号昵称：中奖<br>
                                昨日盈利：
                                <i>¥218405</i>
                            </p>
                        </td>
                        <td>
                            <ins>3</ins>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <img src="//imagess-google.com/system/common/headimg/6F1A99A3D02A6DEC.jpg">
                            <p>
                                账号昵称：未来的我<br>
                                昨日盈利：
                                <i>¥186175</i>
                            </p>
                        </td>
                        <td>
                            <ins>4</ins>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <img src="//imagess-google.com/system/common/headimg/1cf127223f44d417.jpg">
                            <p>
                                账号昵称：18***4<br>
                                昨日盈利：
                                <i>¥181745</i>
                            </p>
                        </td>
                        <td>
                            <ins>5</ins>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <img src="//imagess-google.com/system/common/headimg/7debbc56b4b1e837.jpg">
                            <p>
                                账号昵称：zj***0<br>
                                昨日盈利：
                                <i>¥160001</i>
                            </p>
                        </td>
                        <td>
                            <ins>6</ins>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <img src="//imagess-google.com/system/common/headimg/5C5A53823438F2CD.jpg">
                            <p>
                                账号昵称：小次郎<br>
                                昨日盈利：
                                <i>¥150730</i>
                            </p>
                        </td>
                        <td>
                            <ins>7</ins>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <img src="//imagess-google.com/system/common/headimg/EF01C8BED7B70053.jpg">
                            <p>
                                账号昵称：hu***4<br>
                                昨日盈利：
                                <i>¥133010</i>
                            </p>
                        </td>
                        <td>
                            <ins>8</ins>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <img src="//imagess-google.com/system/common/headimg/67b487fa0ac81fa2.jpg">
                            <p>
                                账号昵称：18***8<br>
                                昨日盈利：
                                <i>¥125835</i>
                            </p>
                        </td>
                        <td>
                            <ins>9</ins>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <img src="//imagess-google.com/system/common/headimg/6F1A99A3D02A6DEC.jpg">
                            <p>
                                账号昵称：杜小美<br>
                                昨日盈利：
                                <i>¥121249</i>
                            </p>
                        </td>
                        <td>
                            <ins>10</ins>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
    </div>
</div>

<script type="text/javascript">
	function newOwindow(url){
		window.open (url,'newwindow','height=960,width=1020,top=0,left=0,toolbar=no,menubar=no,scrollbars=no, resizable=no,location=no, status=no');
    }
    function AutoScroll(obj, oj) {
        $(obj).find("."+oj+":first").animate({
            marginTop: "-40px"
        },
        "500",
        function() {
            $(this).css({
                marginTop: "0px"
            }).find("li:first").appendTo(this);
        });
    }
    $(document).ready(function() {
        setInterval('AutoScroll(".tempWrap", "winnerList")', 5000)
    });
    
    function messBoxController(obj, targe){
    	// 切换选项卡样式
    	$('.winnerTab').addClass('notSelect');
    	obj.className = 'winnerTab';
    	// 更改信息框的展示效果
    	$('.messBox').hide();
    	$('#' + targe).show();
    }
    var betPageCommonUrl = "{U('json/func_member')}";
</script>
<script src="static/js/member/bet_page_common_init.js"></script>